<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/admin../lib/layui-v2.5.5/css/layui.css" media="all">
    <link rel="stylesheet" href="/admin../css/public.css" media="all">
</head>
<body>
<div class="layuimini-container">
                <form action="/admin/add_rentclass" method="get">
{{--                //添加房屋类型--}}
                    <input type="submit" value="添加房屋类型" class="layui-btn layui-btn-danger">
                </form>
            </div>
        </fieldset>
{{--        //房屋类型列表--}}
        <table class="layui-table" style="text-align: center;padding-top:100px;">
            <colgroup>
                <col width="150">
                <col width="200">
                <col>
            </colgroup>
            <thead>
            <tr>
                <th style="text-align: center">id</th>
                <th style="text-align: center">房屋类型</th>
                <th style="text-align: center">类型识别id</th>
                <th style="text-align: center">操作</th>
            </tr>
            </thead>
            <tbody>
                <?php foreach($row as $v){?>
                    @csrf
                <tr>
                    <td>{{$v -> r_id}}</td>
                    <td>{{$v -> house_type}}</td>
                    <td>{{$v -> rid}}</td>
                    <td><form method="post" action="/admin/rent_del/r_id/{{$v -> r_id}}"><input type="submit" value="删除" class="layui-btn layui-btn-danger shanchu" id="{{$v -> r_id}}"></form></td>
                </tr>
           <?php }?>
            </tbody>
            </tbody>
        </table>
        <div align="center">
            <buttom >顶页</buttom>
            <buttom>上一页</buttom>
            <buttom>下一页</buttom>
            <buttom>最后一页</buttom>
            <buttom>总页数</buttom>
        </div>
    </div>
</div>
<script src="/admin../lib/layui-v2.5.5/layui.js" charset="utf-8"></script>
<script>

</script>

</body>
</html>
